//
//  SupportFunctions.m
//  Intake
//
//  Created by Mac Center on 26/09/2013.
//  Copyright (c) 2013 Mac Center. All rights reserved.
//

#import "SupportFunctions.h"

@implementation SupportFunctions

+(void)setFirstTimeRunApp {
    NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
    [userDefault setBool:YES forKey:FIRST_TIME_RUN_KEY];
    [userDefault synchronize];
}

+(BOOL)checkFirstTimeRunApp {
    NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
    BOOL isFirstTime = [userDefault boolForKey:FIRST_TIME_RUN_KEY];
    return isFirstTime;
}
@end
